<script>
export default {
	data(){
		return {
			// globalData: {
			//         appid: 'wxd0e1c1ccdb79b00e', //你的小程序的APPID
			//         secret: '9228dcc791d5f5abb04d9d305afe319f', //你的小程序的secret,  
			// 	},
		}
	},
	  onLaunch() {
	 //    // 判断是否登录
	 //    const token = uni.getStorageSync('token') || false;
	 //    if(!token){
		// 	uni.switchTab({
		// 		url: 'pages/tabbar/index/index'
		// 	})
		// }
	  },
	onShow: function() {
		console.log('App Show');
		uni.setStorageSync('appid','wxd0e1c1ccdb79b002')//配置自己小程序appid
	},
	onHide: function() {
		console.log('App Hide');
	}
};
</script>
<style lang="scss">
@import '@/common/uni-icons.css';
@import '@/common/admin-icons.css';
@import '@/common/iconfont.css';
@import '@/common/iconfont-weapp-icon.css';
/*每个页面公共css */
@import '@/common/uni.css';
@import 'colorui/main.css';
@import 'colorui/icon.css';


@import '@/uni_modules/uview-ui/theme.scss';
// @import 'https://unpkg.com/element-ui/lib/theme-chalk/index.css';

//自定义checkbox的样式（ 元素使用的时候就是使用类名：mycheck）
	checkbox.mycheck .wx-checkbox-input,
	checkbox.mycheck .uni-checkbox-input {
		width: 30rpx !important;
		height: 30rpx !important;
		// background-color: #eeeeee !important;
		border-radius: 5px !important;
		
		// border-color: #2979ff;
	}
	
	
	// 选中后的 对勾样式 
	checkbox.mycheck .uni-checkbox-input-checked::before,
	checkbox.mycheck .wx-checkbox-input-checked::before{
		width: 42rpx !important; // 选中后对勾大小，不要超过背景的尺寸 
		height: 42rpx !important; // 选中后对勾大小，不要超过背景的尺寸 
		font-size: 36rpx !important; // 对勾大小 30rpx /
		border-radius: 5px !important;
		background-color: #2979ff;
		//     font-family: "cuIcon";
		//     content: "\e645";
		//     position: absolute;
		//     color: #ffffff !important;
		//     top: 50%;
		//     margin-top: -7px;
		//     right: 2px;
		//     font-size: 5px;
		//     line-height: 16px;
		//     pointer-events: none;
		//     -webkit-transform: scale(1, 1);
		//     transform: scale(1, 1);
		//     transition: all 0.3s ease-in-out 0s;
		//     z-index: 9;
	}

	
	
	uni-checkbox::before {
	    font-family: "cuIcon";
	    content: "\e645";
	    position: absolute;
	    color: #ffffff !important;
	    top: 50%;
	    margin-top: -7px;
	    right: 2px;
	    font-size: 5px;
	    line-height: 16px;
	    pointer-events: none;
	    -webkit-transform: scale(1, 1);
	    transform: scale(1, 1);
	    transition: all 0.3s ease-in-out 0s;
	    z-index: 9;
	}
	.btn{
		width: 300rpx!important;
		background-color: $uni-theme-color!important;
		color: #fff!important;
		margin-top: 30rpx!important;
		font-size: 34rpx!important;
	}
	.cancelBtn{
		width: 300rpx!important;
		background-color: #fff!important;
		color: $uni-theme-color!important;
		border:1px solid #1cb8a7!important;
	}
	/* #ifdef MP-WEIXIN */
	/deep/.u-action-sheet__item-wrap__item{
		padding: 0!important;
		
	}
	button{
		border:0!important
	}
	
	.uni-top-window [data-page="systemsubPack/attendance/student/sign_in/list"] uni-page-head {  
	    display: none;  
	}
	/* #endif */
	.uni-top-window [data-page="systemsubPack/attendance/student/sign_in/list"] uni-page-head {
	    display: none;  
	}
</style>
